package com.health.manage.util;

public enum ErrorEnum {
    SUCCESS(20000, "success"),
    FAIL(-1, "error"),
    ERROR_SERVER(50000, "服务异常,请稍后重试"),
    SIGN_VERIFI_EXPIRE(401003,"token已过期"),
    ;


    private Integer code;
    private String message;

    ErrorEnum(Integer code, String message){
        this.code = code;
        this.message = message;
    }


    public Integer getCode() {
        return code;
    }
    public String getMessage() {
        return message;
    }
}
